package service;

import beans.User;
import dao.LoginDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginDao dao;
    @Override
    public User login(User user) {
        return dao.loginUser(user);
    }
}
